package com.lzs.bootsafety.business.oss.service;

import com.github.pagehelper.PageInfo;
import com.lzs.bootsafety.business.oss.entity.SysConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
/**
 *  云存储配置
 *  @author  zhanshi Liu
 *  @date    2020/04/18
 *  @website www.jhmsona.cn
 *
 */
public interface SysConfigService {
    /**
     * 分页查询
     * @return
     */
    PageInfo<SysConfig> getConfigs(SysConfig sysConfig);
    /**
     * 以键值对查询
     * @return
     */
    Map<String,Object> getConfigs();

    /**
     * map更新
     * @param map
     * @return
     */
    int updateConfings(Map<String ,Object> map);
}
